package businesslogic.financialbl.stub;


import businesslogicservice.financialblservice.*;
import vo.*;

public class AccountManagerStub implements AccountBLService{
	String name;
	double balance;
	String id;
	public AccountManagerStub(String name,double balance,String id){
		this.name = name;
		this.balance = balance;
		this.id = id;
	}
	
	public boolean addAccount(AccountVO vo){
		System.out.println("add account succeed!");
		return true;
	}
	
	public boolean delAccount(String id){
		System.out.println();
		return true;
	}
	
	public boolean updateAccount(AccountVO vo){
		System.out.println("update account succeed!");
		return true;
	}
	
	public AccountVO findAccount(String id){
		System.out.println("find account succeed!");
		return new AccountVO(name,balance,id);
	}

	public void in(String accountId, double sum) {
		// TODO Auto-generated method stub
		
	}

	public void out(String accountId, double sum) {
		// TODO Auto-generated method stub
		
	}
}
